Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: useMapsLibrary returns API object instead of boolean #26

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

usefulthink
Copy link
Collaborator

@usefulthink usefulthink commented Oct 27, 2023

Changes the implementation of useMapsLibrary to return the library objects instead of the "isLoaded" state variable. Also included here is a bit of restructuring (splitting the hooks into one hook per file) and renaming the files to match the function-names.

fixes #22

BREAKING CHANGE: loading multiple libraries at once is no longer supported, changed the return type of useMapsLibrary.

BREAKING CHANGE: loading multiple libraries at once is no longer supported, changed the return type of useMapsLibrary.
@usefulthink usefulthink merged commit a3aa4c5 into visgl:main Oct 27, 2023
2 checks passed
@usefulthink usefulthink deleted the feat/use-maps-library branch October 27, 2023 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change useMapsLibrary to return the library objects instead of a boolean
1 participant